package com.morn.fanfou.exception;

public class FanfouException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1840133198248307017L;
	private int statusCode = -1;

	public FanfouException(String msg) {
		super(msg);
	}

	public FanfouException(Exception cause) {
		super(cause);
	}

	public FanfouException(String msg, int statusCode) {
		super(msg);
		this.statusCode = statusCode;

	}

	public FanfouException(String msg, Exception cause) {
		super(msg, cause);
	}

	public FanfouException(String msg, Exception cause, int statusCode) {
		super(msg, cause);
		this.statusCode = statusCode;

	}

	public int getStatusCode() {
		return this.statusCode;
	}
}
